// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space 
// Source File Name:   UserServiceImpl.java

package com.itheima.travel.service.impl;

import com.itheima.travel.dao.IUserDao;
import com.itheima.travel.service.IUserService;
import com.itheima.travel.util.FactoryUtil;

public class UserServiceImpl
	implements IUserService
{

	IUserDao userDao;

	public UserServiceImpl()
	{
		userDao = (IUserDao)FactoryUtil.getInstance("IUserDao");
	}

	public boolean addUser()
		throws Exception
	{
		int row = userDao.addUser();
		return row > 0;
	}
}
